xenpm: Add CPU topology info (thread/core/socket)
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 13 Mar 2009 10:09:25 +0000 (10:09 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 13 Mar 2009 10:09:25 +0000 (10:09 +0000)
commit550686e4fdd5234b21def5fcbd474e97f3bb4409
tree5f798791b77246d1d713864b057eb4b8200d3b50
parent8eaca58a104bf6a79202373d07d835a40268181e
xenpm: Add CPU topology info (thread/core/socket)

CPU topology info is necessary for power management analysis. For
example, to analysis the effect of Px state coordination, Cx
package/core coordination,  the thread/core/socket topology
information is needed.

This patch add new command "get-cpu-topology" in xenpm to print the
CPU topology info:

Signed-off-by: Yu Ke <ke.yu@intel.com>
tools/libxc/xc_pm.c
tools/libxc/xenctrl.h
tools/misc/xenpm.c
xen/common/sysctl.c
xen/drivers/acpi/pmstat.c
xen/include/asm-ia64/linux-xen/asm/processor.h
xen/include/asm-x86/processor.h
xen/include/public/sysctl.h